↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
Used ordering: Polynomial interpretation [25]:
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
POL(.(x1, x2)) = x1 + x2
POL(0) = 1
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = x1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL([]) = 0
POL(p_in_g(x1)) = 0
POL(p_out_g) = 0
POL(s(x1)) = x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(Y, Xs, p_in_g(.(X, .(Y, Xs))))
Used ordering: Polynomial interpretation [25]:
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
POL(.(x1, x2)) = 1 + x2
POL(0) = 0
POL(P_IN_G(x1)) = x1
POL(U1_G(x1, x2, x3)) = 1 + x2
POL(U1_g(x1, x2, x3)) = 0
POL(U2_g(x1)) = 0
POL(U3_g(x1)) = 0
POL([]) = 0
POL(p_in_g(x1)) = 0
POL(p_out_g) = 0
POL(s(x1)) = 0
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
U1_G(Y, Xs, p_out_g) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(.(X, [])) → p_out_g
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(p_in_g(Xs))
U3_g(p_out_g) → p_out_g
U1_g(Y, Xs, p_out_g) → U2_g(p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(p_out_g) → p_out_g
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
p_in_g(x0)
U3_g(x0)
U1_g(x0, x1, x2)
U2_g(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ PrologToPiTRSProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
No rules are removed from R.
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
POL(.(x1, x2)) = 2·x1 + x2
POL(P_IN_G(x1)) = 2·x1
POL(s(x1)) = 2·x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ PisEmptyProof
↳ PrologToPiTRSProof
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → U3_G(Xs, p_in_g(Xs))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_G(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
P_IN_G(.(s(s(X)), .(Y, Xs))) → P_IN_G(.(X, .(Y, Xs)))
P_IN_G(.(0, Xs)) → P_IN_G(Xs)
P_IN_G(.(s(s(X)), .(Y, Xs))) → U1_G(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
U1_G(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → P_IN_G(.(s(s(s(s(Y)))), Xs))
p_in_g(.(X, [])) → p_out_g(.(X, []))
p_in_g(.(s(s(X)), .(Y, Xs))) → U1_g(X, Y, Xs, p_in_g(.(X, .(Y, Xs))))
p_in_g(.(0, Xs)) → U3_g(Xs, p_in_g(Xs))
U3_g(Xs, p_out_g(Xs)) → p_out_g(.(0, Xs))
U1_g(X, Y, Xs, p_out_g(.(X, .(Y, Xs)))) → U2_g(X, Y, Xs, p_in_g(.(s(s(s(s(Y)))), Xs)))
U2_g(X, Y, Xs, p_out_g(.(s(s(s(s(Y)))), Xs))) → p_out_g(.(s(s(X)), .(Y, Xs)))
p_in_g(x0)
U3_g(x0, x1)
U1_g(x0, x1, x2, x3)
U2_g(x0, x1, x2, x3)